module IndexHelper
    def find_url_by_tags (search_tag)
        if search_tag.blank?
            Link.find(:all, :order => 'last_collected_at DESC')
        else
            Link.find_tagged_with(search_tag)
        end
    end
end
